<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.Map" %>
<%@ page import="com.xyrj.utils.HHString, com.xyrj.html.HHHtml" %>
<%@ page import="system.config.HHConfig" %>
<jsp:include page="../common/header.jsp" />
<link rel="stylesheet" href="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH %>/render/uploader/uploadify/uploadify.css" />
<link rel="stylesheet" href="<%=HHConfig.SITE_URL  + "/" + HHConfig.TPL_PATH %>/render/lightbox/jquery.lightbox-0.5.css" />
</head>

    <body>
    <div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
        <jsp:include page="../common/sidebar.jsp"></jsp:include>
        <div id="main-content"> <!-- Main Content Section with everything -->
            
		    <!-- 导入不支持Javascript提示 -->	
            <jsp:include page="../common/noscript.html" /> 
 	
            <!-- 导入控制面板 -->
            <jsp:include page="../common/dashboard.jsp" />	           
            
            <div class="clear"></div> <!-- End .clear -->
            
            <div class="content-box"><!-- Start Content Box -->
                
                <div class="content-box-header">
                    <h3>添加新用户类型</h3>
                </div> <!-- End .content-box-header -->
                
                <div class="content-box-content">
                    <div class="tab-content default-tab" id="tab1">
                        <form action="<%=HHConfig.SITE_URL %>/index.jsp/admin/usertype/<%=request.getAttribute("nextAction") %>" method="post" enctype="multipart/form-data">
                            <fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
                                <% Map record  = (Map)request.getAttribute("record"); %>
                                <input type="hidden" value="<%=HHString.objToString(record.get("usertype_id")) %>" name="usertype_id" />
                                <div class="left-info">
	                                <p>
	                                    <label>类型名</label>
                                        <input class="text-input small-input" type="text" id="usertype_name_id" name="usertype_name" 
                                        value="<%=HHString.objToString(record.get("usertype_name")) %>"/>
                                        <br /><small>用户类型名，字符范围：2~20个字符。</small>
	                                </p>
	                                <jsp:include page="../fields/sort_num.jsp" flush="true" />
	                                <jsp:include page="../fields/parent_id.jsp" flush="true" />
	                                <div class="clear"></div>
                                    <jsp:include page="../fields/image_path.jsp" flush="true" />
                                </div>
                                <div class="right-info">
                                    <jsp:include page="../fields/top_flag.jsp" flush="true" />
                                    <jsp:include page="../fields/edit_time.jsp" flush="true"/>
                                    <jsp:include page="../fields/create_time.jsp" flush="true" />
                                    <jsp:include page="../fields/author.jsp" flush="true"/>
                                </div>
                                <jsp:include page="../common/info_op_area.jsp" flush="true" />
                                <div class="clear"></div>
                                <jsp:include page="../fields/description_editor.jsp" flush="true" />
                            </fieldset>
                            <div class="clear"></div><!-- End .clear -->
                        </form>
                        
                    </div> <!-- End #tab2 -->        
                    
                </div> <!-- End .content-box-content -->
                
            </div> <!-- End .content-box -->
<script type="text/javascript" src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH %>/admin/js/jquery.wysiwyg.js"></script>
<script type="text/javascript" src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH %>/render/uploader/uploadify/jquery.uploadify.min.js"></script>
<script type="text/javascript" src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH %>/render/lightbox/jquery.lightbox-0.5.min.js"></script>
<script type="text/javascript" src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH %>/common/js/hhjslib.hhbindrender.js"></script>
<script type="text/javascript" src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH %>/common/js/hhjslib.hhautomask.js"></script>
<script type="text/javascript" src="<%=HHConfig.SITE_URL + "/" + HHConfig.TPL_PATH %>/admin/js/usertype_info.js"></script>
<jsp:include page="../common/footer.jsp" />